@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
  }
}
// 隐藏el横向滚动条
// .el-scrollbar__wrap {
//   overflow-x: hidden;
// }
//滚动条的宽度
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
//滚动条的滑块
::-webkit-scrollbar-thumb {
  background-color: #a5a9af;
  border-radius: 20px;
}

// 表格全局样式
.el-table {
  margin-bottom: 10px;
  tr > th {
    // 表头样式
    color: #333131;
    background-color: #eaeef169;
  }
  table > tbody > tr.current-row > td {
    // 表格选中行样式
    background: rgb(41, 136, 253) !important;
    color: rgb(247, 242, 242) !important;
  }
  th.gutter {
    // 解决表头错位
    display: table-cell !important;
  }
  tr > td {
    // 表单元格样式
    color: #3d3c3c;
  }
}

//分页插件样式
.el-pagination {
  float: right;
  margin-bottom: 20px;
  margin-right: 30px;
  .active {
    background-color: #1890ff !important;
    border-color: #1890ff !important;
  }
}

//登陆input框样式
.login-container {
  .el-input__inner {
    padding-left: 38px;
    color: #131212;
  }
}
//修改密码弹出框样式
.navbar {
  .el-form-item__label {
    color: #2b2727;
    font-size: 12px;
  }
}

// 全局card-main样式
.card-main {
  min-height: 500px;
  background-color: rgb(255, 255, 255);
  color: #181616;
  font-size: 13px;
  border-radius: 0px; //圆角样式
  // border: 1px solid #dddddd; //边框样式
  .el-card__header {
    padding: 28px 20px 0px;
    // border-bottom: 1px solid #dddddd; //head下边框样式
  }
  .el-card__body {
    padding: 15px 20px 20px 20px;
  }
  .el-form-item__label {
    color: #181616;
    font-size: 12px;
  }

  .el-row {
    margin-bottom: 15px;
  }
}

// main-container全局样式
// .app-container {
//   padding: 20px;
// }
